<div class='node-entry' [class.item-selected]="selected">
  <span class="entry-toggle"
        [ngSwitch]="foldStatus"
        (click)="onFoldToggle()">
    <span *ngSwitchWhen="'expanded'">-</span>
    <span *ngSwitchWhen="'folded'">+</span>
    <span *ngSwitchWhen="'noChildren'">&nbsp;</span>
    <span *ngSwitchDefault>*</span>
  </span>

  <node-name
   [id] = "treeData.id"
   [name] = "treeData.name">
  </node-name>
</div>